package com.dimension.pojo;

import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

public class Role{
    @ApiModelProperty(value = "角色id")
    private Integer roleid;

    @ApiModelProperty(value = "角色名称")
    private String rolename;

    @ApiModelProperty(value = "用户id")
    private Integer userid;

    public Role(Integer roleid, String rolename, Integer userid) {
        this.roleid = roleid;
        this.rolename = rolename;
        this.userid = userid;
    }

    public Role() {
        super();
    }

    public Integer getRoleid() {
        return roleid;
    }

    public void setRoleid(Integer roleid) {
        this.roleid = roleid;
    }

    public String getRolename() {
        return rolename;
    }

    public void setRolename(String rolename) {
        this.rolename = rolename == null ? null : rolename.trim();
    }

    public Integer getUserid() {
        return userid;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }
}